package TransactionImplementation

import (
	"SalaryPayment/AbstractTransaction"
	"SalaryPayment/Model"
	"SalaryPayment/ModelImplementation"
)

type ChangeSalariedTransaction struct {
	AbstractTransaction.ChangeClassificationTransaction
	itsSalary float64
}

func (a *ChangeSalariedTransaction) GetClassification() Model.PaymentClassification {
	return ModelImplementation.NewSalariedClassification(a.itsSalary)
}

func (a *ChangeSalariedTransaction) GetSchedule() Model.PaymentSchedule {
	return ModelImplementation.MonthlySchedule{}
}
